home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-01 / pdcurs21.zip / PORTABLE.ZIP / HAS_IC.C < prev    next >
Text File  |  1992-11-21  |  1KB  |  48 lines

  1. #define        CURSES_LIBRARY  1
  2. #include <curses.h>
  3. #undef has_ic
  4.  
  5. #ifndef        NDEBUG
  6. char *rcsid_has_ic = "$Header: c:/curses/portable/RCS/has_ic.c%v 2.0 1992/11/15 03:28:54 MH Rel $";
  7. #endif
  8.  
  9.  
  10.  
  11.  
  12. /*man-start*********************************************************************
  13.  
  14.   has_ic()     - determine whether insert/delete character available
  15.  
  16.   X/Open Description:
  17.        This function will return TRUE if the terminal has insert character
  18.        and delete character capabilities.
  19.  
  20.   PDCurses Description:
  21.        For DOS, this is irrelevant (and ALWAYS TRUE), as the speed of
  22.        the DIRECT VIDEO or even BIOS writes is quicker than on a
  23.        serial terminal.
  24.  
  25.        For FLEXOS, this value has meaning and depends on the terminal,
  26.        though at this time, it is a constant TRUE.
  27.  
  28.   X/Open Return Value:
  29.        The has_ic() function returns TRUE if the terminal has insert
  30.        character and delete character capabilities, otherwise it returns
  31.        FALSE.
  32.  
  33.   X/Open Errors:
  34.        No errors are defined for this function.
  35.  
  36.   Portability:
  37.        PDCurses        bool has_ic(void);
  38.        X/Open Dec '88  bool has_ic(void);
  39.        BSD Curses      
  40.        SYS V Curses    
  41.  
  42. **man-end**********************************************************************/
  43.  
  44. bool   has_ic(void)
  45. {
  46.        return( TRUE );
  47. }
  48.